package com.qf.game;

public class Battle03 {
    public static void main(String[] args) {
        Weapon weapon = new Weapon(1000, "斩首大刀");
        Hero hero = new Hero(weapon,100);
        hero.attack();

        Hero hero1 = new Hero();
        hero1.setPower(50);
        hero1.attack();
    }
}
